import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/wa_collection/getList',
    method: 'post',
    data
  })
}

export function getInfo(data) {
  return request({
    url: '/wa_collection/getInfo',
    method: 'post',
    data
  })
}


export function create(data) {
  return request({
    url: '/wa_collection/create_admin',
    method: 'post',
    data
  })
}

export function stop(data) {
  return request({
    url: '/wa_collection/stop',
    method: 'post',
    data
  })
}

export function createDownKey(data) {
  return request({
    url: '/wa_collection/createDownKey',
    method: 'post',
    data
  })
}

export function getAllTask(data) {
  return request({
    url: '/wa_collection/getAllTask',
    method: 'post',
    data
  })
}


